package com.hxx.day1.action;

public class Demo {
    public static void main(String[] args) {
       /*int[][] arr = new int[2][2];
       arr[0][0] = 1;
       arr[0][1] = 2;
       arr[1][0] = 3;
       arr[1][1] = 4;*/
        int[][] arr = {{1},{3,4},{5,6,7}};
       for (int i = 0; i < arr.length; i++) {
           for (int j = 0; j < arr[i].length; j++) {
               System.out.println("arr["+i+"]["+j+"]="+arr[i][j]);
           }
       }


    }
}
